package com.example.birdfriends.dao.export;


import com.example.birdfriends.pojo.export.entity.DataExportEntity;
import com.example.birdfriends.pojo.export.vo.DataExportVo;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface DataExportDao {
    List<DataExportVo> queryDataExportListByExportStat(String exportStat);
    DataExportVo queryDataExportDataById(String exportId);
    @MapKey("exportId")
    List<Map<String, Object>> queryTableInfoByTableName(String exportTable);
    void updateDataExportStat(DataExportEntity dataExportEntity);
    void addDataExport(DataExportEntity dataExportEntity);
}
